package com.redsoft.spirit.dao;

import com.redsoft.spirit.entity.Authorization;

/**
 * 操作授权的DAO类
 * 
 * <pre>
 * 操作授权的DAO类
 * </pre>
 * 
 * @author 杨雷
 * @since 1.0
 */
public interface AuthorizationRepository extends BaseRepository<Authorization, String>{

	Authorization findByAuthIdAndElementInnerNameAndPageId(String authId, String elementInnerName, String pageId);

	Authorization findByAuthIdAndAuthType(String authId, String string);
}
